

const {query}=require('../utils/query');

exports.loginServer=async({username,pwd})=>{

    let sql=`select * from login where username= ? and pwd=?`;
    return await query(sql,[username,pwd])

}